import { Entity, PrimaryGeneratedColumn } from "typeorm";
import { Code, CreateDate, Text, UpdateDate } from "../utils";

@Entity({
    name: 'ks_open'
})
export class KsOpen {
    @PrimaryGeneratedColumn()
    id: number;

    @Text()
    open: string;

    @Code({ default: 'ks' })
    platform: string;

    @Code({ default: '0' })
    status: string;

    @Code({ default: '' })
    uuid: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}